﻿namespace Athena.ProxyGenerator
{
    public class AssemblyInfo
    {
        public string Title { get; set; }

        public string Product { get; set; }

        public string Copyright { get; set; }

        public string Guid { get; set; }

        public string Version { get; set; }

        public string FileVersion { get; set; }

        public bool ComVisible { get; set; }

        public static AssemblyInfo Create(string name, string copyright = "Copyright ©  Danny", string version = "1.0.0.0")
        {
            return new AssemblyInfo
            {
                Title = name,
                Product = name,
                Copyright = copyright,
                Guid = System.Guid.NewGuid().ToString("D"),
                ComVisible = false,
                Version = version,
                FileVersion = version
            };
        }
    }
}
